import { $http } from "../request/service";

const requestUtil = {
  async getGueryTypeNameById(id) {
    let res = await $http.get(`/queryTypeNameById`, { type_id: id });

    console.log(res.data[0].type_name);

    return res.data[0].type_name;
  }
};

export default requestUtil;
